﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%Html.BeginForm("Create", "Live"); %>
<table>
    <tr>
        <td>
            直播类别：
        </td>
        <td>
            <%=Html.DropDownList("category", (List<SelectListItem>)ViewData["category"])%>
        </td>
    </tr>
    <tr>
        <td>
            直播名：
        </td>
        <td>
            <textarea cols="90" rows="10" id="content" name="content"></textarea>
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
            <input type="submit" value="提交" style="width: 60px;" />
        </td>
    </tr>
</table>
<script type="text/javascript">
<!--
    CKEDITOR.replace("content",
      {
          skin: "kama", width: 1000, height: 100
      });
//-->
</script>
<%Html.EndForm(); %>